package stringtokenizer;

import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.net.URLEncoder;
import java.util.StringTokenizer;

/**
 * Created by ZhuQianli on 2018/1/12.
 */
public class App {

    public static void main(String[] args) throws UnsupportedEncodingException {

        StringTokenizer stringTokenizer = new StringTokenizer("1aksdhka111as23sda", "as");

        while (stringTokenizer.hasMoreTokens()) {

            System.out.println(stringTokenizer.nextToken());

        }


    }

}
